package com.app.mapper;

import com.app.model.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 文章内容表 Mapper 接口
 * </p>
 *
 * @author yoominic
 * @since 2025-01-21
 */
public interface ArticleMapper extends BaseMapper<Article> {

    IPage<Article> adminPage(Page<Article> articlePage,
                    @Param("title") String title,
                    @Param("cid") Integer cid);
}
